The ----ssssttttccccoooouuuunnnntttt, ----ssssttttssssiiiizzzzeeee and ----ssssttttttttoooottttaaaallll options, together with the ----pppprrrriiiinnnnttttffff
"%U" format, provide a mechanism to group subtrees of the searched tree
by sizes or counts. The ----ssssttttttttoooottttaaaallll option implies the ----ddddeeeepppptttthhhh option. The
_r_f_i_n_d command maintains two internal values, the running subtotal and the
aggregate subtotal. Both values are initialized to zero.
The running subtotal is maintained during the recursive depth first
search so that for directories it is always the total values not already
aggregated for the subtree below the directory, and for other files, it
is always the value for just that file. The aggregate subtotal is reset
to zero before evaluating the _s_e_a_r_c_h-_e_x_p_r_e_s_s_i_o_n for each file.
Whenever the ----ssssttttccccoooouuuunnnntttt option is evaluated, it increments the running
subtotal by one.
Whenever the ----ssssttttssssiiiizzzzeeee option is evaluated, it increments the running
subtotal by the size in blocks of the current file.
Whenever, for an individual file or for a subtree, the ----ssssttttttttoooottttaaaallll option is
evaluated and the current running subtotal exceeds the _t_h_r_e_s_h_o_l_d
specified on the ----ssssttttttttoooottttaaaallll option, then the running subtotal is copied to
the aggregate subtotal, and the running subtotal is reset to zero. When
evaluating the _s_e_a_r_c_h-_e_x_p_r_e_s_s_i_o_n for the final (top) directory of the
search (namely, the directory specified or implied by the ----rrrrooooooootttt option),
the ----ssssttttttttoooottttaaaallll option copies any non-zero running subtotal to the aggregate
subtotal, even if it does not exceed the specified _t_h_r_e_s_h_o_l_d, and
evaluates as true if a copy was done.
The ----pppprrrriiiinnnnttttffff "%U" format displays the current value of the aggregate
subtotal.
These options are intended to be used together. Typically one of either
the ----ssssttttccccoooouuuunnnntttt or ----ssssttttssssiiiizzzzeeee option is used to increment the running subtotal,
along with the ----ssssttttttttoooottttaaaallll option to copy the running subtotal to the
aggregate subtotal whenever the threshold is reached, along with the
----pppprrrriiiinnnnttttffff "%U" format to display the aggregate subtotal.
For example, one could determine where, in a large RCS based source tree,
the recent (say, in the last day) changes to RCS/*,v files were